package com.syw.entity;

import java.util.Date;

/**
 * SywRewardrecord entity. @author MyEclipse Persistence Tools
 */

public class SywRewardrecord implements java.io.Serializable {

	// Fields

	private int id;
	private SywRewardproject sywRewardproject;
	private SywEmp sywEmp;
	private SywUser sywUser;
	private Date datetime;
	private String checkstate;

	// Constructors

	/** default constructor */
	public SywRewardrecord() {
	}

	/** minimal constructor */
	public SywRewardrecord(SywRewardproject sywRewardproject, SywEmp sywEmp,
			SywUser sywUser, String checkstate) {
		this.sywRewardproject = sywRewardproject;
		this.sywEmp = sywEmp;
		this.sywUser = sywUser;
		this.checkstate = checkstate;
	}

	/** full constructor */
	public SywRewardrecord(SywRewardproject sywRewardproject, SywEmp sywEmp,
			SywUser sywUser, Date datetime, String checkstate) {
		this.sywRewardproject = sywRewardproject;
		this.sywEmp = sywEmp;
		this.sywUser = sywUser;
		this.datetime = datetime;
		this.checkstate = checkstate;
	}

	// Property accessors

	public int getId() {
		return this.id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public SywRewardproject getSywRewardproject() {
		return this.sywRewardproject;
	}

	public void setSywRewardproject(SywRewardproject sywRewardproject) {
		this.sywRewardproject = sywRewardproject;
	}

	public SywEmp getSywEmp() {
		return this.sywEmp;
	}

	public void setSywEmp(SywEmp sywEmp) {
		this.sywEmp = sywEmp;
	}

	public SywUser getSywUser() {
		return this.sywUser;
	}

	public void setSywUser(SywUser sywUser) {
		this.sywUser = sywUser;
	}

	public Date getDatetime() {
		return this.datetime;
	}

	public void setDatetime(Date datetime) {
		this.datetime = datetime;
	}

	public String getCheckstate() {
		return this.checkstate;
	}

	public void setCheckstate(String checkstate) {
		this.checkstate = checkstate;
	}

}